import request from '@/utils/request'

export function getAllRolesAPI () {
  return request({
    url: 'api/roles/queryAllRoles',
    method: 'get',
  })
}

export function updateAllRolesAPI (data) {
  return request({
    url: 'api/storehousrConfig/updateAll',
    method: 'post',
    data
  })
}

export function getAutherIdsAPI () {
  return request({
    url: 'api/users/get-auther-ids',
    method: 'get',

  })
}
